package com.funny.stock.base.vo;

/*
 * @author  pengl
 * @date    2020/4/9
 */
public enum  ResultEnum {
    UNKNOWN_ERROR(-1,"未知错误"),
    ERROR(0,"失败"),
    SUCCESS(1,"成功");

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;
    private  String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
